<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../myVue/vue.js"></script>
</head>
<body>
    <div id="app">
        <input type="button" value="单击我" v-on:click="myshow">
    </div>
</body>
<script>
    var vm=new Vue({
        el:"#app",
        data:{

        },
        methods:{
            myshow:function (){
                alert("欢迎进入Vue学习")
                //console.log("显示")
            }
        }
    })
</script>
</html>